<template>
	<uni-popup ref="rule_pop" class="rule_pop">
		
		<view class="customer_pop">
			<view class="title">规则</view>
			<scroll-view scroll-y="true" class="buyChicken_block_centent" >
				<view class="label_1">
					<u-parse :content="message"  ></u-parse>
				</view>
			</scroll-view>
		</view>
		<view style="height: 20px;"></view>
		<image class="close" @click="close" src="../../static/my/close2.png"></image>

	</uni-popup>
	
</template>

<script>
	// import uparse  from '../u-parse/u-parse.vue'
	export default {
		
		// props:{
		// 	message:{
		// 		type:String,
		// 		default:'',
		// 	}
		// },
		name:"rule",
		data() {
			return {
				message:''
			};
		},
		methods:{
			close(){
				this.$refs.rule_pop.close()
			},
			open(key){
				this.message = uni.getStorageSync(key)
				this.$refs.rule_pop.open()
			},
			copy(){
				var that =this
				this.custom.tool.setClipboardText(this.tell,res=>{
					that.close()
				},fila=>{})
				that.close()
			}
		}
	}
</script>

<style scoped lang="less">

.customer_pop{
	width: 580rpx;
	background: #ffffff;
	border-radius: 20rpx;
	padding: 10rpx;
	text-align: center;
	.title{
		padding: 10px;
	}
	.buyChicken_block_centent {
		height: 340px;
		text-align: start;
		/deep/.uni-scroll-view ::-webkit-scrollbar {
			/* 隐藏滚动条，但依旧具备可以滚动的功能 */
			display: none;
			width: 0;
			height: 0;
			color: transparent;
			background: transparent;
		}
	
		/deep/::-webkit-scrollbar {
			display: none;
			width: 0;
			height: 0;
			color: transparent;
			background: transparent;
		}
	
		.label_1{
			padding: 10px;
		}
	
	}
	

}
.rule_pop{
	text-align: center;
}
	.close{
		
		text-align: center;
		margin: auto;
		width: 35px;
		height: 35px;
	}

</style>